package cn.maihe.elg.operation.initialization;

import cn.maihe.elg.operation.service.order.SpdBankNoticeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @Description
 * @Author WJH
 * @Date 2021/11/26
 */
@Component
@Slf4j
public class LoadSpdbCoreNoList implements CommandLineRunner {
    @Resource
    private SpdBankNoticeService spdBankNoticeService;
    @Override
    public void run(String... args) throws Exception {
        spdBankNoticeService.initCoreNo();
    }
}
